package com.rongxue.pojo;

import com.rongxue.utils.CommonUtils;

import javax.management.StandardEmitterMBean;
import java.math.BigDecimal;

/**
 * Created by g on 2017/8/8.
 * 用于银行业务 接收前台传输的参数
 */
public class XMLBean {
    private String id ;

    private String token;

    private String project_id;//标id

    private String amoney;//投资金额

    private String award_type;//使用奖励方式

    private String award_id;//使用奖励id

    private String money;//实际支付id

    private String pay_type;//支付方式1银行2钱包

    private Integer device_type;//手机类型1:ios 2:android 3:h5 4：pc

    private String bank_no;//银行卡号

    private String card_no;//身份证号

    private String real_name;//真实姓名

    private String mobile;//预留手机号

    private  String password;

    private String mobile_auth_code;//验证码

    private String deviceSerialId;//	设备序列号

    private String phoneSystemVersion;//系统版本

    private String channel;//下载渠道

    private String appVersion;//app版本

    private String invite;//邀请码 邀请人的手机号

    private Integer channel_id	;//渠道id

    private String registration_id;//极光推送id

    private Integer p ;//当前页

    private Integer level ;//用户级别1没登陆 1新手2老用户

    private Integer status ;//标状态 1：等待审核上线 2：销售中 3：已售完 4：还款中 5：已还款

    private double interest;//加息券利息

    private Integer rx_gold;//需要的融雪币

    private  Integer type;//兑换规则1：100个金币兑换0.5%加息券:2：200个金币兑换1%加息券:3：400个金币兑换1.5%加息券:4：600个金币兑换2%加息券

    private String  content;//	反馈内容

    private String due_id;

    private Integer day;

    private String address;//收货地址

    private Integer user_activity_id;//用户任务id

    private Integer continuous;//连续签到天数

    private Integer category;//类型

    private Integer is_default;//收获地址是否默认

    private String user_name;//收货人

    private String real_value;

    private String value;

    private String account_type;//账户类型 普通户200201,企业户200204

    private String role_type;// 1：出借角色，2：借款角色，3：代偿角色

    private String title;

    private String msg;

    private Integer address_id;

    private String bank_name;//银行名

        private String bank_code;//银行编号

    public String getBank_name() {
        return bank_name;
    }

    public void setBank_name(String bank_name) {
        this.bank_name = bank_name;
    }

    public String getBank_code() {
        return bank_code;
    }

    public void setBank_code(String bank_code) {
        this.bank_code = bank_code;
    }

    public Integer getAddress_id() {
        return address_id;
    }

    public void setAddress_id(Integer address_id) {
        this.address_id = address_id;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getReal_value() {
        return real_value;
    }

    public void setReal_value(String real_value) {
        this.real_value = real_value;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getProject_id() {
        return project_id;
    }

    public void setProject_id(String project_id) {
        this.project_id = project_id;
    }

    public String getAmoney() {
        return amoney;
    }

    public void setAmoney(String amoney) {
        this.amoney = amoney;
    }

    public String getAward_type() {
        return award_type;
    }

    public void setAward_type(String award_type) {
        this.award_type = award_type;
    }

    public String getAward_id() {
        return award_id;
    }

    public void setAward_id(String award_id) {
        this.award_id = award_id;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public String getPay_type() {
        return pay_type;
    }

    public void setPay_type(String pay_type) {
        this.pay_type = pay_type;
    }

    public Integer getDevice_type() {
        return device_type;
    }

    public void setDevice_type(Integer device_type) {
        this.device_type = device_type;
    }

    public String getBank_no() {
        return bank_no;
    }

    public void setBank_no(String bank_no) {
        this.bank_no = bank_no;
    }

    public String getCard_no() {
        return card_no;
    }

    public void setCard_no(String card_no) {
        this.card_no = card_no;
    }

    public String getReal_name() {
        return real_name;
    }

    public void setReal_name(String real_name) {
        this.real_name = real_name;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getMobile_auth_code() {
        return mobile_auth_code;
    }

    public void setMobile_auth_code(String mobile_auth_code) {
        this.mobile_auth_code = mobile_auth_code;
    }

    public String getDeviceSerialId() {
        return deviceSerialId;
    }

    public void setDeviceSerialId(String deviceSerialId) {
        this.deviceSerialId = deviceSerialId;
    }

    public String getPhoneSystemVersion() {
        return phoneSystemVersion;
    }

    public void setPhoneSystemVersion(String phoneSystemVersion) {
        this.phoneSystemVersion = phoneSystemVersion;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getAppVersion() {
        return appVersion;
    }

    public void setAppVersion(String appVersion) {
        this.appVersion = appVersion;
    }

    public String getInvite() {
        return invite;
    }

    public void setInvite(String invite) {
        this.invite = invite;
    }

    public Integer getChannel_id() {
        return channel_id;
    }

    public void setChannel_id(Integer channel_id) {
        this.channel_id = channel_id;
    }

    public String getRegistration_id() {
        return registration_id;
    }

    public void setRegistration_id(String registration_id) {
        this.registration_id = registration_id;
    }

    public Integer getP() {
        return p;
    }

    public void setP(Integer p) {
        this.p = p;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public double getInterest() {
        return interest;
    }

    public void setInterest(double interest) {
        this.interest = interest;
    }

    public Integer getRx_gold() {
        return rx_gold;
    }

    public void setRx_gold(Integer rx_gold) {
        this.rx_gold = rx_gold;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getDue_id() {
        return due_id;
    }

    public void setDue_id(String due_id) {
        this.due_id = due_id;
    }

    public Integer getDay() {
        return day;
    }

    public void setDay(Integer day) {
        this.day = day;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getUser_activity_id() {
        return user_activity_id;
    }

    public void setUser_activity_id(Integer user_activity_id) {
        this.user_activity_id = user_activity_id;
    }

    public Integer getContinuous() {
        return continuous;
    }

    public void setContinuous(Integer continuous) {
        this.continuous = continuous;
    }

    public Integer getCategory() {
        return category;
    }

    public void setCategory(Integer category) {
        this.category = category;
    }

    public Integer getIs_default() {
        return is_default;
    }

    public void setIs_default(Integer is_default) {
        this.is_default = is_default;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getAccount_type() {
        return account_type;
    }

    public void setAccount_type(String account_type) {
        this.account_type = account_type;
    }

    public String getRole_type() {
        return role_type;
    }

    public void setRole_type(String role_type) {
        this.role_type = role_type;
    }

    @Override
    public String toString() {
        return "XMLBean{" +
                "id='" + id + '\'' +
                ", token='" + token + '\'' +
                ", project_id='" + project_id + '\'' +
                ", amoney='" + amoney + '\'' +
                ", award_type='" + award_type + '\'' +
                ", award_id='" + award_id + '\'' +
                ", money='" + money + '\'' +
                ", pay_type='" + pay_type + '\'' +
                ", device_type=" + device_type +
                ", bank_no='" + bank_no + '\'' +
                ", card_no='" + card_no + '\'' +
                ", real_name='" + real_name + '\'' +
                ", mobile='" + mobile + '\'' +
                ", password='" + password + '\'' +
                ", mobile_auth_code='" + mobile_auth_code + '\'' +
                ", deviceSerialId='" + deviceSerialId + '\'' +
                ", phoneSystemVersion='" + phoneSystemVersion + '\'' +
                ", channel='" + channel + '\'' +
                ", appVersion='" + appVersion + '\'' +
                ", invite='" + invite + '\'' +
                ", channel_id=" + channel_id +
                ", registration_id='" + registration_id + '\'' +
                ", p=" + p +
                ", level=" + level +
                ", status=" + status +
                ", interest=" + interest +
                ", rx_gold=" + rx_gold +
                ", type=" + type +
                ", content='" + content + '\'' +
                ", due_id='" + due_id + '\'' +
                ", day=" + day +
                ", address='" + address + '\'' +
                ", user_activity_id=" + user_activity_id +
                ", continuous=" + continuous +
                ", category=" + category +
                ", is_default=" + is_default +
                ", user_name='" + user_name + '\'' +
                ", real_value='" + real_value + '\'' +
                ", value='" + value + '\'' +
                ", account_type='" + account_type + '\'' +
                ", role_type='" + role_type + '\'' +
                ", title='" + title + '\'' +
                ", msg='" + msg + '\'' +
                ", address_id=" + address_id +
                ", bank_name='" + bank_name + '\'' +
                ", bank_code='" + bank_code + '\'' +
                '}';
    }
}
